class SubscribleCardEntity {
  String? id;
  String? name;
  String? desc;
  bool? enable;
  int? expire;
  bool? invalid;
  String? usedDesc;

  SubscribleCardEntity(
      {this.id, this.name, this.desc, this.usedDesc, this.enable, this.expire});

  SubscribleCardEntity.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    name = json['name'];
    desc = json['desc'];
    enable = json['enable'];
    expire = json['expire'];
    invalid = json['invalid'];
    usedDesc = json['usedDesc'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['desc'] = this.desc;
    data['enable'] = this.enable;
    data['expire'] = this.expire;
    data['id'] = this.id;
    data['invalid'] = this.invalid;
    data['name'] = this.name;
    data['usedDesc'] = this.usedDesc;
    return data;
  }
}
